from flask_apscheduler import APScheduler


def register_scheduler_task(scheduler: APScheduler):
    scheduler.task('interval', id='do_job_test', seconds=60)(test_task)
    scheduler.start()


def test_task():
    print("test task ....")
